from django.urls import path, include
from rest_framework import routers
from . import views

router = routers.SimpleRouter()
router.register(r'user_query', views.UserQueryView, 'admins_user_query')
router.register(r'login', views.LoginView, 'admins_login')
router.register(r'backstage', views.AdminsView, 'admins')
router.register(r'update_password', views.AdminUpdatePassword, 'admins')

urlpatterns = [
    path('', include(router.urls)),
]
